package com.adong.pojo;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

/**
 * @author adong
 */
public class House implements InitializingBean, DisposableBean {
    public House(){
        System.out.println("house无参构造方法");
    }

    @Override
    public void destroy() throws Exception {
        System.out.println("house的destroy方法");

    }

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("house的afterPropertiesSet方法");
    }
}
